power: regulator: fixed: get_enable should return integer
authorKeerthy <[email protected]>
Tue, 13 Jun 2017 04:23:46 +0000 (09:53 +0530)
committerJaehoon Chung <[email protected]>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit0f2194d82581b6a455f9b3dad6bb8b4db6ad9893
tree000c7606b2c7403e62fde52a7596af86dd0522b6
parent06bdf6003b6951154bf1d0876fc7174c53df766c
power: regulator: fixed: get_enable should return integer

get_enable should be able to return error values. Hence change
the return type to integer.

Signed-off-by: Keerthy <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/power/regulator/fixed.c